package com.amazingtel.test;

public class Weight {
    private String id;

    private String url;

    private Double fail;

    private Double success;

    private String clazz;

    private Double minival;

    private Double maxval;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public Double getFail() {
        return fail;
    }

    public void setFail(Double fail) {
        this.fail = fail;
    }

    public Double getSuccess() {
        return success;
    }

    public void setSuccess(Double success) {
        this.success = success;
    }

    public String getClazz() {
        return clazz;
    }

    public void setClazz(String clazz) {
        this.clazz = clazz == null ? null : clazz.trim();
    }

    public Double getMinival() {
        return minival;
    }

    public void setMinival(Double minival) {
        this.minival = minival;
    }

    public Double getMaxval() {
        return maxval;
    }

    public void setMaxval(Double maxval) {
        this.maxval = maxval;
    }

//    public Weight() {
//    }

    public Weight(String id, String url, Double fail, Double success, String clazz, Double minival, Double maxval) {
        this.id = id;
        this.url = url;
        this.fail = fail;
        this.success = success;
        this.clazz = clazz;
        this.minival = minival;
        this.maxval = maxval;
    }
}